﻿@model Critex.ViewModels.HtmlAreaViewModel
@{
    Layout = null;
}
@using (Html.BeginForm("ModifyHtmlArea", "Dashboard", FormMethod.Post))
{
    
    @Html.Hidden("areaId", Model.Id)
    @Html.Hidden("sectionId", Model.SectionId)

    <div class="htmlArea">
        @Html.EditorFor(model => model.Content, null, "content" + Model.Id, new { StyleLocation = Model.StyleLocation })
    </div>

}